package com.bustle.user.data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Address
{

  public int getId()
  {
    return id;
  }

  public void setId(int aId)
  {
    id = aId;
  }

  public String getName_street()
  {
    return name_street;
  }

  public void setName_street(String name_street)
  {
    this.name_street = name_street;
  }

  public String getCity()
  {
    return city;
  }

  public void setCity(String city)
  {
    this.city = city;
  }

  public Address()
  {
    super();
  }

  public Address(String department, String postcode, String city, String name_street)
  {
    super();
    this.name_street = name_street;
    this.city = city;
    this.postcode = postcode;
  }

  public String getPostcode()
  {
    return postcode;
  }

  public void setPostcode(String postcode)
  {
    this.postcode = postcode;
  }

  @Id
  @GeneratedValue
  private int id;
  private String city;
  private String name_street;
  private String postcode;

}